home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Champak 33
/
Volume 33 - JOGO DISK .iso
/
Games
/
shoot_em_in.swf
/
scripts
/
DefineSprite_136
/
frame_2
/
DoAction.as
Wrap
Text File
|
2007-01-15
|
782b
|
46 lines
_scale = 50;
_focale = 20;
_Yfloor = 20;
if(_parent._yoffset == undefined)
{
_yoffset = -150;
}
else
{
_yoffset = _parent._yoffset;
}
if(_parent._xoffset == undefined)
{
_xoffset = 176;
}
else
{
_xoffset = _parent._xoffset;
}
ldball = 0.22;
ldpot = 0.12;
ldzone = 10;
ldwall = 0.8;
lplayerHeight = 1.8;
call("collisions");
call("fonctions");
call("goal");
call("wall");
call("wind");
v3DPoint = new Object();
v3DPoint.x = 0;
v3DPoint.y = 0;
v3DPoint.z = 0;
v3DPoint.scale = 0;
v2DPoint = new Object();
v2DPoint.x = 0;
v2DPoint.y = 0;
v2DPoint.z = 0;
vxbut = 0;
vybut = _Yfloor;
vzbut = 50;
lScale = _scale * _Focale / (_Focale + vzbut);
vsxbut = lScale * vxbut + _xoffset;
vsybut = lScale * vybut + _yoffset;
gotoAndPlay(8);